from django.urls import path
from apps.verification import views

urlpatterns = [
    # /image_codes/image_code_id/ 生成图片验证码
    path('image_codes/<UUID:image_code_id>/', views.ImageVerificationCode.as_view()),
    #/sms_codes/mobile（手机号）/?image_code(图形验证码)&image_code_id(图形编号UUID)
    path('sms_codes/<mobile:mobile>/', views.SMSCodeView.as_view()),
]
